package com.engine4cloud.tdf.education.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.engine4cloud.tdf.common.data.web.response.PageInfo;
import com.engine4cloud.tdf.common.data.web.response.Params;
import com.engine4cloud.tdf.education.dto.create.EduPsychologicalCounsellingCreateDTO;
import com.engine4cloud.tdf.education.dto.query.EduPsychologicalCounsellingQueryDTO;
import com.engine4cloud.tdf.education.dto.result.EduPsychologicalCounsellingResultDTO;
import com.engine4cloud.tdf.education.dto.update.EduPsychologicalCounsellingUpdateDTO;
import com.engine4cloud.tdf.education.entity.EduPsychologicalCounsellingEntity;

public interface EduPsychologicalCounsellingService extends IService<EduPsychologicalCounsellingEntity> {

    PageInfo<EduPsychologicalCounsellingResultDTO> pageList(Params page, EduPsychologicalCounsellingQueryDTO dto);

    EduPsychologicalCounsellingResultDTO getById(Long id);

    EduPsychologicalCounsellingResultDTO findByCode(String code);

    Boolean create(EduPsychologicalCounsellingCreateDTO dto);

    Boolean update(EduPsychologicalCounsellingUpdateDTO dto);
}